package com.erp.erp_ui.money.req;

import com.erp.erp_ui.warehouse.req.AnnexReq;

import java.math.BigDecimal;
import java.util.List;

/**
 * @ClassName : CollectionClaimAddReq
 * @Description : 收款认领新增明细入参实体
 * @Author : lst
 * @Date: 2020-12-12 15:41
 */
public class CollectionClaimAddReq {

    /**
     * 主键id
     */
    private Integer id;

    /**
     * 入账金额
     */
    private BigDecimal entryAmount;

    /**
     * 银行扣费(外)
     */
    private BigDecimal bankDeductionExcept;

    /**
     * 银行扣费(本)
     */
    private BigDecimal bankDeductionCapital;

    /**
     * 收汇金额
     */
    private BigDecimal collectionAmount;

    /**
     * 已认领
     */
    private BigDecimal claimed;

    /**
     * 待认领
     */
    private BigDecimal toBeClaimed;

    /**
     * 明细集合
     */
    private List<ReceivePaymentDetailAddReq> detailList;

    /**
     * 附件集合
     */
    private List<AnnexReq> annexList;

    /**
     * 被删除的明细id集合
     */
    private List<Integer> deleteIds;


    public List<Integer> getDeleteIds() {
        return deleteIds;
    }

    public void setDeleteIds(List<Integer> deleteIds) {
        this.deleteIds = deleteIds;
    }

    public BigDecimal getBankDeductionCapital() {
        return bankDeductionCapital;
    }

    public void setBankDeductionCapital(BigDecimal bankDeductionCapital) {
        this.bankDeductionCapital = bankDeductionCapital;
    }

    public BigDecimal getToBeClaimed() {
        return toBeClaimed;
    }

    public void setToBeClaimed(BigDecimal toBeClaimed) {
        this.toBeClaimed = toBeClaimed;
    }

    public BigDecimal getClaimed() {
        return claimed;
    }

    public void setClaimed(BigDecimal claimed) {
        this.claimed = claimed;
    }

    public BigDecimal getCollectionAmount() {
        return collectionAmount;
    }

    public void setCollectionAmount(BigDecimal collectionAmount) {
        this.collectionAmount = collectionAmount;
    }

    public BigDecimal getBankDeductionExcept() {
        return bankDeductionExcept;
    }

    public void setBankDeductionExcept(BigDecimal bankDeductionExcept) {
        this.bankDeductionExcept = bankDeductionExcept;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public BigDecimal getEntryAmount() {
        return entryAmount;
    }

    public void setEntryAmount(BigDecimal entryAmount) {
        this.entryAmount = entryAmount;
    }

    public List<ReceivePaymentDetailAddReq> getDetailList() {
        return detailList;
    }

    public void setDetailList(List<ReceivePaymentDetailAddReq> detailList) {
        this.detailList = detailList;
    }

    public List<AnnexReq> getAnnexList() {
        return annexList;
    }

    public void setAnnexList(List<AnnexReq> annexList) {
        this.annexList = annexList;
    }

    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("CollectionClaimAddReq").append('[')
                .append("id=")
                .append(id)
                .append(",entryAmount=")
                .append(entryAmount)
                .append(",bankDeductionExcept=")
                .append(bankDeductionExcept)
                .append(",bankDeductionCapital=")
                .append(bankDeductionCapital)
                .append(",collectionAmount=")
                .append(collectionAmount)
                .append(",claimed=")
                .append(claimed)
                .append(",toBeClaimed=")
                .append(toBeClaimed)
                .append(",detailList=")
                .append(detailList)
                .append(",annexList=")
                .append(annexList)
                .append(']');
        return sb.toString();
    }
}
